package com.cjm.one.config;

import lombok.Data;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Component;

@Component
@Data
@Primary
@Slf4j
@ConfigurationProperties(prefix = "ali.green")
public class GreenPropertis {
    private String accessKeyId;
    private String accessKeySecret;
    private String regionId; //接入区域
    private String endpoint; //接入域名
    private Integer readTimeout;  //读取时超时时间，单位毫秒（ms）。默认为1000ms
    private Integer connectTimeout; //连接超时时间，单位毫秒（ms）。默认为500ms
    private String[] scenes; //审核场景
}
